<template>
    <div class="back">
        <a href="javascript:;">
            <van-icon name="wap-home-o" @click="$router.replace('/')"/>
        </a>
        <a href="javascript:;" @click="$router.go(-1)">
            <van-icon name="arrow-left" />
        </a>
    </div>
</template>

<script>
    export default {
        name: "back"
    }
</script>

<style scoped lang="less">
    .back{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px;
        a{
            margin-right: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background: rgb(164,175,191);
            border-radius: 15px;
            i{
                color: #fff;
                font-size: @large;
            }
        }
    }
</style>
